# 银行取钱
a = "123456"  # 银行卡卡号
b = 123  # 银行卡密码
balance = 100  # 余额
acc = input("请输入卡号")
if acc == a:
    print("卡号正确")
    pwd = int(input("请输入密码"))
    if pwd == b:
        print("密码正确")
        money = float(input("请输入余额"))
        if (balance > money):
            print("取了{}元，剩余{}元".format(money, balance - money))
        else:
            print("余额不足，穷逼")
    else:
        print("密码不正确")
else:
    print("卡号不正确")
